export const getApplicationList = (params) => {
  return http({
    method: "GET",
    url: `/api-uaa/clients/list`,
    params,
  });
};

export const addApplication = (data) => {
  return http({
    method: "post",
    url: `/api-uaa/clients/saveOrUpdate`,
    data,
  });
};

export const editApplication = (data) => {
  return http({
    method: "post",
    url: `/api-uaa/clients/saveOrUpdate`,
    data,
  });
};

export const deleteApplication = (params) => {
  return http({
    method: "delete",
    url: `/api-uaa/clients/${params.id}`,
    params,
  });
};
